##########################################################
###                    Glare3D Math                    ###
##########################################################

set (HEADER_FILES
    include/glare.math.Angles.h
    include/glare.math.AngleUtils.h
    include/glare.math.asm_math.h
    include/glare.math.AxisAlignedBox.h
    include/glare.math.IntersectionUtils.h
    include/glare.math.Prerequisites.h
    include/glare.math.Matrix3.h
    include/glare.math.Matrix4.h
    include/glare.math.NumericUtils.h
    include/glare.math.Plane.h
    include/glare.math.PlaneBoundedVolume.h
    include/glare.math.Quaternion.h
    include/glare.math.Ray.h
    include/glare.math.Sphere.h
    include/glare.math.Vector2.h
    include/glare.math.Vector3.h
    include/glare.math.Vector3Utils.h
    include/glare.math.Vector4.h
)

set (SOURCE_FILES
    src/glare.math.Angles.cpp
    src/glare.math.AngleUtils.cpp
    src/glare.math.AxisAlignedBox.cpp
    src/glare.math.IntersectionUtils.cpp
    src/glare.math.Matrix3.cpp
    src/glare.math.Matrix4.cpp
    src/glare.math.NumericUtils.cpp
    src/glare.math.Plane.cpp
    src/glare.math.Quaternion.cpp
    src/glare.math.Vector2.cpp
    src/glare.math.Vector3.cpp
    src/glare.math.Vector3Utils.cpp
    src/glare.math.Vector4.cpp
)

set (INCLUDE_DIRS
	${CFG_FILE_DIR}
    ${CMAKE_CURRENT_SOURCE_DIR}/include
)

include_directories(${INCLUDE_DIRS})

add_library(glare.math STATIC ${HEADER_FILES} ${SOURCE_FILES})
set_property(TARGET glare.math PROPERTY FOLDER ${PROJECT_LIBRARIES_FOLDER})
